home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Utilities
/
Programming
/
EnterAct 3.5
/
Drag_on Modules
/
hAWK programs
/
$EmpDataTester
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-09-07
|
265 b
|
9 lines
|
[
TEXT/KEEN
]
#The first little program in "The AWK Programming Language"
#by Aho, Kernighan, and Weinberger - page 1.
# "Take input from:" the file "emp.data"
#with "Show stdout" selected
#BEGIN { print "hello" }#optional, if you can't resist...
$3 > 0 { print $1, $2 * $3; }